import React from 'react'
import Admin from '../views/Admin.jsx'
import Login from '../views/Login.jsx'
import { Redirect } from 'react-router-dom'

export const RouterConfig = [
  {
    path: '/',
    component: Admin
  },
  {
    path: '/login',
    component: Login
  },
  {
    path: '/*',
    render: () => {
      return <Redirect to='/' />
    }
  }

  // {
  //   path: '/apply-for-a-deferment',
  //   component: ApplyForADeferment,
  //   sceneConfig: {
  //     enter: 'from-bottom',
  //     exit: 'to-bottom'
  //   }
  // },
]
